package com.cxs.template.spring;

/**
 * @Author: cxs
 */
public abstract class AbstractTemplateSpring {


    public void makeCarBody() {
        System.out.println("车身都是一个供应商提供的");
    }

    abstract public void makeCarDoor();

    abstract public void makeCarWindows();


    public final void makeTemplate() {
        makeCarBody();
        makeCarDoor();
        makeCarWindows();
    }


}
